package com.deram.ctin.serv.third.prop;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zhangcm
 * @version 1.0, 2017/9/26
 */
@Component
@ConfigurationProperties(prefix="qiniu")
public class QiniuProp {

    private String accessKey;
    private String secretKey;
    private String bucket;
    private String uploadDomain;
    private Long uploadMaxSize;

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public String getUploadDomain() {
        return uploadDomain;
    }

    public void setUploadDomain(String uploadDomain) {
        this.uploadDomain = uploadDomain;
    }

    public Long getUploadMaxSize() {
        return uploadMaxSize;
    }

    public void setUploadMaxSize(Long uploadMaxSize) {
        this.uploadMaxSize = uploadMaxSize;
    }
}
